/*
 * Klasa zarządzająca oknem gry
 */
#include "WindowManager.h"
#include <allegro.h>

bool WindowManager::closed;

WindowManager::WindowManager()
{
}

void WindowManager::init()
{
	set_close_button_callback(WindowManager::close_button_handler);
	closed = false;
}

void WindowManager::close_button_handler(void)
{
	closed = true;
}

bool WindowManager::ifNotClosed(void)
{
	return !closed; 
}

WindowManager::~WindowManager()
{
}

